package com.zhb.designmode.structure.adapter;

/**
 *
 */
public class ClassPowerAdapter extends PowerAdaptee implements PowerTarget{

    public int output5V() {
        int output = outPut220V();
        System.out.println("电源适配器开始工作，此时输出电压是：" + output);
        output = output/44;
        System.out.println("电源适配器工作完成，此时输出电压是：" + output);
        return output;
    }
}
